package com.zjf.carpark.entities;

/**
 * @description:菜单
 * @author: 张建飞
 * @createDate: 2019/12/7
 * @version: 1.0
 */
public class Menu {
    private Integer menuId;//菜单ID
    private String menuName;//菜单名
    private String href;//菜单对应的地址
    private Integer parentId;//父级菜单id

    public Menu() {
    }

    public Menu(Integer menuId, String menuName, String href, Integer parentId) {
        this.menuId = menuId;
        this.menuName = menuName;
        this.href = href;
        this.parentId = parentId;
    }

    public Integer getMenuId() {
        return menuId;
    }

    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    @Override
    public String toString() {
        return "Menu{" +
                "menuId=" + menuId +
                ", menuName='" + menuName + '\'' +
                ", href='" + href + '\'' +
                ", parentId=" + parentId +
                '}';
    }
}
